package com.CST.vo.zx;

import com.CST.util.CloseConverter;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author 伍文毅
 * @Date 2023 03 15 10 18
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
@Api(tags = {"返回显示用的项目具体信息"})
public class ProjectAllVO {

    @ApiModelProperty("项目编号")
    @ExcelProperty("项目编号")
    private String projectCode;

    @ApiModelProperty("财务编码")
    @ExcelProperty("财务编码")
    private String financialCode;

    @ApiModelProperty("项目类别Id")
    @ExcelProperty("项目类别Id")
    private String projectCategoryId;

    @ApiModelProperty("项目类别")
    @ExcelProperty("项目类别")
    private String projectCategory;

    @ApiModelProperty("项目简称")
    @ExcelProperty("项目简称")
    private String financialName;

    @ApiModelProperty("项目全称")
    @ExcelProperty("项目全称")
    private String projectInfo;

    @ApiModelProperty("项目负责人工号")
    @ExcelProperty("项目负责人工号")
    private String userId;

    @ApiModelProperty("项目负责人")
    @ExcelProperty("项目负责人")
    private String userName;

    @ApiModelProperty("期初金额")
    @ExcelProperty("期初金额")
    private String startMoney;

    @ApiModelProperty("期末金额")
    @ExcelProperty("期末金额")
    private String endMoney;

    @ApiModelProperty("是否封存")
    @ExcelProperty(value = "是否封存",converter = CloseConverter.class)
    private Integer isClose;
}
